<template>
  <div>
    <p>demo说明</p>
    <p>1. 管理员菜单模拟管理员系统</p>
    <p>2. 领导菜单模拟审批系统</p>
    <p>3. 普通职工模拟申请系统</p>
  </div>
</template>

<script>
export default {
  name: '',
  data () {
    return {
      data: '',
      searchKey: ''
    }
  },
  methods: {
    search () {
      debugger
      console.log(this.searchKey)
      if (this.searchKey !== null && this.searchKey !== '') {
        this.$router.push('/detail/' + encodeURI(this.searchKey))
      }
    },
    test () {
      debugger
      this.$router.push({ path: '/flow_charts', params: { data: 'query' } })
    }
  }
}
</script>
